import Layout from '@/layout'
// 仓储
const purchaseManage = {
  path: '/purchaseManage',
  component: Layout,
  name: 'purchaseManage',
  meta: {
    title: '采购管理',
    icon: 'purchase-manage',
    systemFlag: 'YY',
    breedType: ['YY']
  },
  children: [
    {
      path: '/purchase-return-record',
      name: 'purchase-return-record',
      component: () => import('@/views/purchaseManage/purchase-return-record/index'),
      meta: {
        systemFlag: 'YY',
        breedType: ['YY'],
        title: '采购退货记录', icon: 'purchase-return-record'
      }
    },
    {
      path: '/arrival-notice',
      name: 'arrival-notice',
      component: () => import('@/views/purchaseManage/arrival-notice/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '到货通知', icon: 'arrival-notice'
      }
    },
    {
      path: "/purchase-order",
      name: 'purchase-order',
      component: () => import('@/views/purchaseManage/purchase-order/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '采购订单', icon: 'purchase-order'
      }
    },
    {
      path: '/supplier-manage',
      name: 'supplier-manage',
      component: () => import('@/views/purchaseManage/supplier-manage/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '供应商管理', icon: 'supplier-manage'
      }
    },
    {
      path: '/supplier-type',
      name: 'supplier-type',
      component: () => import('@/views/purchaseManage/supplier-type/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '供应商分类', icon: 'supplier-type'
      }
    }
  ]
}
export default purchaseManage;  